package cn.yoyo.service;

import cn.yoyo.entity.User;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface UserService {
    public List<User> findAll();
    public User findById(String userId);
    public void add(User user, MultipartFile file)throws Exception;
    public void update(User user,MultipartFile file)throws Exception;
    public void block(String userId,Integer block);
}
